gtk+3.0.git
10 years agoGtkStack: Don't mix code and declarations
Matthias Clasen [Sat, 30 May 2015 13:43:56 +0000 (09:43 -0400)]
GtkStack: Don't mix code and declarations

10 years agoTrivial: Use a convenience macro
Matthias Clasen [Sat, 30 May 2015 13:36:51 +0000 (09:36 -0400)]
Trivial: Use a convenience macro

g_strstrip is less obscure than the two individual functions,
so lets use it here.

10 years agofile chooser: Respect recent settings
Matthias Clasen [Sat, 30 May 2015 13:21:16 +0000 (09:21 -0400)]
file chooser: Respect recent settings

When recent files are not supported in gvfs, or turned off by
settings, we should not try to load them even if the startup
mode says so. This prevents inconsistency with the places
sidebar where 'Recent' will not appear in this case.

10 years agoplacessidebar: Simplify some code
Matthias Clasen [Sat, 30 May 2015 13:20:27 +0000 (09:20 -0400)]
placessidebar: Simplify some code

Use existing functions, instead of open-coding manipulation
of string arrays.

10 years agoflowbox: Fix compiler warnings
Benjamin Otte [Sat, 30 May 2015 03:59:55 +0000 (05:59 +0200)]
flowbox: Fix compiler warnings

Introduced in e59e38b58120f8d998b5e204506fc552e2efd00d

10 years agocssnode: Fix position invalidation
Benjamin Otte [Sat, 30 May 2015 03:43:54 +0000 (05:43 +0200)]
cssnode: Fix position invalidation

The previous code was overly complicated and wrong.

10 years agoGtkFlowBox: support positional css selectors
Matthias Clasen [Sat, 30 May 2015 03:37:42 +0000 (23:37 -0400)]
GtkFlowBox: support positional css selectors

As in the previous commit for GtkListBox, support :first-child,
:last-child, :nth-child() and :last-nth-child() selectors here.

10 years agolistbox: add support for :first-child, :last-child and others
Christian Hergert [Sat, 30 May 2015 03:03:11 +0000 (20:03 -0700)]
listbox: add support for :first-child, :last-child and others

This applies the proper CSS child ordering semantics using GtkCssNode to
GtkListBox. You can now use :first-child, :last-child, :nth-child(), and
:last-nth-child() selectors.

For example, this allows styling row separators using CSS while ignoring
the separator on the last row.

 GtkListBoxRow {
   border-bottom: 1px solid @borders;
 }
 GtkListBoxRow:last-child {
   border-bottom: none;
 }

When the sort ordering of the listbox changes, we also update the CSS
node ordering.

10 years agoUpdated Occitan translation
Cédric Valmary [Fri, 29 May 2015 21:50:59 +0000 (21:50 +0000)]
Updated Occitan translation

10 years agoFix DnD Introspection on Quartz Backend.
John Ralls [Fri, 29 May 2015 20:04:07 +0000 (13:04 -0700)]
Fix DnD Introspection on Quartz Backend.

Don't exclude the -quartz.c files from introspection_files.

10 years agoGtkStack: Interpolate between size changes
Timm Bäder [Sun, 24 May 2015 19:27:33 +0000 (21:27 +0200)]
GtkStack: Interpolate between size changes

10 years agoGtkStack: Remove some useless function calls
Timm Bäder [Sun, 24 May 2015 19:20:48 +0000 (21:20 +0200)]
GtkStack: Remove some useless function calls

We will call gtk_widget_queue_resize anyway later when finishing the
(maybe non-running) transition, which will also cause the stack to be
repainted.

10 years agoGtkStack: Keep the last_visible_child around during transitions
Timm Bäder [Sun, 24 May 2015 19:15:44 +0000 (21:15 +0200)]
GtkStack: Keep the last_visible_child around during transitions

We need it later.

10 years agoGtkStack: Misc indentation fixes
Timm Bäder [Sun, 24 May 2015 19:12:34 +0000 (21:12 +0200)]
GtkStack: Misc indentation fixes

10 years agoGtkStack: Remove useless cast
Timm Bäder [Sun, 24 May 2015 19:08:00 +0000 (21:08 +0200)]
GtkStack: Remove useless cast

10 years agoGtkStack: Remove useless function calls
Timm Bäder [Sun, 24 May 2015 18:58:01 +0000 (20:58 +0200)]
GtkStack: Remove useless function calls

These both just use the default values anyway.

10 years agoGtkStack: Save last visible widget size
Timm Bäder [Sun, 24 May 2015 14:55:34 +0000 (16:55 +0200)]
GtkStack: Save last visible widget size

When interpolating the stack size, we compute the current size by using
the prefered/minimum current size and the last size. We can't use the
last_visible_surface_allocation because that is not available until the
first _draw call and it doesn't include the child's margins.

10 years agoGtkStack: Remove gtk_widget_set_opacity call
Timm Bäder [Fri, 22 May 2015 13:43:44 +0000 (15:43 +0200)]
GtkStack: Remove gtk_widget_set_opacity call

The corresponding call with 0.999 opacity is gone, so we don't need to
reset the opacity anymore.

10 years agogtkpopover: Update the menu's alignment
Timm Bäder [Tue, 17 Mar 2015 18:34:43 +0000 (19:34 +0100)]
gtkpopover: Update the menu's alignment

... when the popover position changes.

10 years agoFix GDK MSVC Projects
Chun-wei Fan [Fri, 29 May 2015 10:10:59 +0000 (18:10 +0800)]
Fix GDK MSVC Projects

We need to link to dwmapi.lib for all configs, not just the Broadway
ones, so fix the build.

10 years agoFix a cornercase crash
Matthias Clasen [Fri, 29 May 2015 03:42:14 +0000 (23:42 -0400)]
Fix a cornercase crash

If gtk_text_layout_move_cursor_visually is called with a
count of 0, we were passing NULL to a free function that
can't handle it. Don't do that.

https://bugzilla.gnome.org/show_bug.cgi?id=750058

10 years agocssmatcher: Speed up common matching
Benjamin Otte [Thu, 28 May 2015 15:40:55 +0000 (17:40 +0200)]
cssmatcher: Speed up common matching

first-child and last-child are the most common usages of the nth-child
machinery, so special-casing them makes sense.

10 years agocssmatcher: Rewrite nth-child matcher
Benjamin Otte [Thu, 28 May 2015 15:12:57 +0000 (17:12 +0200)]
cssmatcher: Rewrite nth-child matcher

Instead of trying to be smart, be stupid but correct.

Fixes nth-child reftest.

10 years agocssmatcher: Simplify code
Benjamin Otte [Thu, 28 May 2015 15:06:53 +0000 (17:06 +0200)]
cssmatcher: Simplify code

Instead of copy/paste, pass the only difference as an argument

The code still doesn't work right, but at least it's easier to fix now.

10 years agogtk: Add deprecation guards for newest pango deprecations
Benjamin Otte [Thu, 28 May 2015 14:54:03 +0000 (16:54 +0200)]
gtk: Add deprecation guards for newest pango deprecations

10 years agotestsuite: Add deprecation guards
Benjamin Otte [Thu, 28 May 2015 14:53:53 +0000 (16:53 +0200)]
testsuite: Add deprecation guards

10 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 28 May 2015 06:42:39 +0000 (06:42 +0000)]
Updated Spanish translation

10 years ago3.17.3
Matthias Clasen [Wed, 27 May 2015 21:19:56 +0000 (17:19 -0400)]
3.17.3

10 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 27 May 2015 15:23:53 +0000 (15:23 +0000)]
Updated Spanish translation

10 years ago3.17.2
Matthias Clasen [Tue, 26 May 2015 17:14:01 +0000 (13:14 -0400)]
3.17.2

10 years agoDist the gtk-builder-tool test script
Matthias Clasen [Tue, 26 May 2015 18:57:49 +0000 (14:57 -0400)]
Dist the gtk-builder-tool test script

10 years agoexamples: Clean up the standalone Makefiles
Emmanuele Bassi [Tue, 19 May 2015 15:14:49 +0000 (16:14 +0100)]
examples: Clean up the standalone Makefiles

Do not hardcode GCC as the compiler; use $(shell) expansion instead of
backticks; split the built source into its own variable.

10 years agoentry: Set up text drag icon within drag_begin()
Carlos Garnacho [Thu, 21 May 2015 09:34:58 +0000 (11:34 +0200)]
entry: Set up text drag icon within drag_begin()

the drag_begin() vmethod is meant for this, and the internal DnD code
will set up a drag icon if ::drag_begin didn't do so, which means
we are first getting a "default" icon, and then replacing it with the
text surface.

This is completely harmless in X11, but causes issues on wayland as
the DnD icon window is expected to remain unchanged during DnD there.

https://bugzilla.gnome.org/show_bug.cgi?id=748763

10 years agonotebook: Fix assert in ::drag-motion
Carlos Garnacho [Tue, 26 May 2015 14:26:59 +0000 (16:26 +0200)]
notebook: Fix assert in ::drag-motion

The drag destination might be empty, we shouldn't be checking whether
it contains pages at all. Instead, check the source notebook, which
ought to have a selected page if you're dragging something from there.

https://bugzilla.gnome.org/show_bug.cgi?id=749893

10 years agoUpdated German translation
Christian Kirbach [Mon, 25 May 2015 11:26:25 +0000 (11:26 +0000)]
Updated German translation

10 years agoUse built-in gtk-update-icon-cache
Cosimo Cecchi [Tue, 19 May 2015 00:26:25 +0000 (17:26 -0700)]
Use built-in gtk-update-icon-cache

To generate the icon cache files.

We want to avoid a dependency loop if possible; additionally, on some
Debian-based systems gtk-update-icon-cache maps to the GTK2 version of
the utility and the GTK3 version is renamed to
gtk-update-icon-cache-3.0.

To avoid a build dependency on GTK2, use the binary that we just built
in-tree.

https://bugzilla.gnome.org/show_bug.cgi?id=749593

10 years agoparse-sass: don't hardcode bash path
Cosimo Cecchi [Thu, 14 May 2015 18:32:10 +0000 (11:32 -0700)]
parse-sass: don't hardcode bash path

It's /bin/bash on some systems; just use /bin/sh instead.

https://bugzilla.gnome.org/show_bug.cgi?id=749593

10 years agotests: wait for draw before fetching tree view style
Cosimo Cecchi [Tue, 19 May 2015 17:25:00 +0000 (10:25 -0700)]
tests: wait for draw before fetching tree view style

On some slower machines (e.g. an ARM OBS builder), this test is failing
with a race condition where we're trying to fetch the style before it's
applied.

https://bugzilla.gnome.org/show_bug.cgi?id=749593

10 years agoscrolledwindow: fix copy/paste typo
Cosimo Cecchi [Sun, 24 May 2015 19:06:42 +0000 (12:06 -0700)]
scrolledwindow: fix copy/paste typo

fc2830394895f236352bea2024dda0e962dd2c53 refactored code into the
get_scroll_unit() function but introduced a copy/paste typo.

10 years agoplacessidebar: escape tooltip text before setting it
Cosimo Cecchi [Sat, 23 May 2015 23:14:39 +0000 (16:14 -0700)]
placessidebar: escape tooltip text before setting it

gtk_tree_view_set_tooltip_column() specifies that markup in the text
should be escaped.
This fixes critical warnings when hovering over items in the sidebar for
bookmarks that have markup characters in their names.

https://bugzilla.gnome.org/show_bug.cgi?id=719683

10 years agoscrolledwindow: Trigger builtin kinetic deceleration on libinput devices
Carlos Garnacho [Sat, 23 May 2015 13:57:41 +0000 (15:57 +0200)]
scrolledwindow: Trigger builtin kinetic deceleration on libinput devices

The libinput driver will send a 0/0 scroll event on touchpads and other
devices where it knows scrolling stopped for sure. Use these events to
trigger kinetic scrolling from there.

The mechanism is similar to GtkGestureSwipe, we keep a backlog of the
latest dx/dy till a previous point in time, and calculate the final
velocities from there, with the difference we're dealing with scroll
units, and not pixel distances.

https://bugzilla.gnome.org/show_bug.cgi?id=749770

10 years agoscrolledwindow: Refactor scroll unit guessing into a separate function
Carlos Garnacho [Sat, 23 May 2015 13:51:11 +0000 (15:51 +0200)]
scrolledwindow: Refactor scroll unit guessing into a separate function

Makes it clearer, and will be used in further places.

https://bugzilla.gnome.org/show_bug.cgi?id=749770

10 years agoFixes to Catalan translation
Jordi Mas [Sun, 24 May 2015 12:16:58 +0000 (14:16 +0200)]
Fixes to Catalan translation

10 years agoscrolledwindow: reset more Indicator state on ::unmap
Carlos Garnacho [Fri, 22 May 2015 18:52:17 +0000 (20:52 +0200)]
scrolledwindow: reset more Indicator state on ::unmap

If a GtkScrolledWindow is just unmapped and promptly mapped again, the
indicators are left in a semi-visible state, so the GdkWindow isn't raised
properly above scrolledwindow content. This inconsistent state went away
the next time the indicator is hidden.

So, reset all state about indicator window visibility, animation
progress and conceil timer on ::unmap, this will be enough to make the
indicators start out hidden like on newly created scrolledwindows.

10 years agogdk: Fix a typo
Krzesimir Nowak [Fri, 22 May 2015 12:39:53 +0000 (14:39 +0200)]
gdk: Fix a typo

10 years agoFix primary monitor determination with XRANDR 1.5
Matthias Clasen [Fri, 22 May 2015 10:56:23 +0000 (06:56 -0400)]
Fix primary monitor determination with XRANDR 1.5

This was an oversight in the previous patch.

10 years agogtk3: add randr 1.5 monitor support
Dave Airlie [Mon, 2 Feb 2015 06:02:04 +0000 (16:02 +1000)]
gtk3: add randr 1.5 monitor support

This patch introduces support for using the newly introduced
monitor objects in the XRandR protocol. These objects are meant
to be used to denote a set of rectangles representing a logical
monitor, and are used to hide details like monitor tiling and
virtual gpu outputs.

This uses the new objects instead of crtc/outputs objects when
they are available to create the monitor lists. X server 1.18
is required on the server side for randr 1.5.

https://bugzilla.gnome.org/show_bug.cgi?id=749561

10 years agoiconview: Avoid usage of gdk_window_get_device_position() during DnD
Carlos Garnacho [Thu, 21 May 2015 12:16:13 +0000 (14:16 +0200)]
iconview: Avoid usage of gdk_window_get_device_position() during DnD

Just use the last coordinates given on XdndPosition/drag_motion() in
order to trigger scrolling.

When running on Xwayland, the pointer position is unknown at this
stage on the X11 side, so the coordinates given here are bogus.
This change avoids both roundtrips and this situation.

https://bugzilla.gnome.org/show_bug.cgi?id=749679

10 years agotreeview: Avoid usage of gdk_window_get_device_position() during DnD
Carlos Garnacho [Thu, 21 May 2015 11:53:43 +0000 (13:53 +0200)]
treeview: Avoid usage of gdk_window_get_device_position() during DnD

Just use the last coordinates given on XdndPosition/drag_motion() in
order to trigger scrolling.

When running on Xwayland, the pointer position is unknown at this
stage on the X11 side, so the coordinates given here are bogus.
This change avoids both roundtrips and this situation.

https://bugzilla.gnome.org/show_bug.cgi?id=749679

10 years agotextview: Avoid usage of gdk_window_get_device_position() during DnD
Carlos Garnacho [Thu, 21 May 2015 09:58:11 +0000 (11:58 +0200)]
textview: Avoid usage of gdk_window_get_device_position() during DnD

Just use the last coordinates given on XdndPosition/drag_motion() in
order to trigger scrolling.

When running on Xwayland, the pointer position is unknown at this
stage on the X11 side, so the coordinates given here are bogus.
This change avoids both roundtrips and this situation.

https://bugzilla.gnome.org/show_bug.cgi?id=749679

10 years agogtk3-demo: Fix Visual Studio Builds
Chun-wei Fan [Wed, 20 May 2015 09:36:15 +0000 (17:36 +0800)]
gtk3-demo: Fix Visual Studio Builds

Add the new cursors demo to the projects, so that gtk-demo will properly
build.

10 years agoGDK: Add cursor theme support to W32 backend
Руслан Ижбулатов [Wed, 13 May 2015 07:45:40 +0000 (07:45 +0000)]
GDK: Add cursor theme support to W32 backend

Load themed cursors from the same places they are loaded on freedesktop systems,
but use W32 API functions to do so (works for .cur/.ani cursors instead of X
cursors).

Refactor the code for cursor handling. Prefer loading cursors by name.

Do not load actual cursors when loading the theme. Find the files and remember
the arguments/calls for loading them instead. Keeping HCURSOR instance in the
hashmap would result in multiple GdkCursors using the same HCURSOR. Given that
we use DestroyCursor() to off them, this would cause problems (at the very
least - DestroyCursor() would fail).

Store GdkCursor instances in a cache. Update cached cursors when theme changes.

Recognize "system" theme as a special (and default) case. When it is set,
prefer system cursors and fall back to Adwaita cursors and (as a last resort)
built-in X cursors. Otherwise prefer theme cursors and fall back to system and
X cursors.

Force GTK to use "left_ptr" cursor when no cursor is set. Using NULL makes
it use the system default "arrow", which is not the intended behaviour when
a non-system theme is selected.

Ignore cursor size setting and query the OS for the required cursor size, as
Windows (almost) does not allow setting cursors of arbitrary size.

https://bugzilla.gnome.org/show_bug.cgi?id=749287

10 years agoGDK: Use GdkCursor objects to keep track of W32 cursors, not HCURSOR
Руслан Ижбулатов [Sun, 3 May 2015 21:29:35 +0000 (21:29 +0000)]
GDK: Use GdkCursor objects to keep track of W32 cursors, not HCURSOR

In particular this means that cursors are disposed of by the way of
g_object_unref(), not DestroyCursor (which is documented to not to be
used on certain kinds of cursors, and we can't tell which is which).

It should also alleviate any concerns about destroying cursors that
are still in use by other windows, except for cases where we would
somehow get our hands on a HCURSOR that someone else is using and we
make a GdkCursor out of it and later unref and finalize it while it
is still in use.

It also removes the need to call CopyCursor(), which makes animated
cursors into non-animated ones as a side-effect (supposed to be a bug,
but try explaining that to MS). Now cursors should be animated (if
the are set up as such in the OS).

https://bugzilla.gnome.org/show_bug.cgi?id=697477

10 years agowayland: Use on globals closure for loading cursor themes
Jonas Ådahl [Mon, 18 May 2015 08:38:34 +0000 (16:38 +0800)]
wayland: Use on globals closure for loading cursor themes

Instead of putting a 'load cursor themes' call when receiving an wl_shm
global, make it a closure that is prepared during initialization.

https://bugzilla.gnome.org/show_bug.cgi?id=719819

10 years agowayland: Add global object depedency tracking
Jonas Ådahl [Mon, 18 May 2015 06:55:08 +0000 (14:55 +0800)]
wayland: Add global object depedency tracking

Some features need certain globals to initialize. In order to deal with
these dependencies, add a way to postpone closures that depend on a
certain set of globals, that later will be invoked when required
globals are all received.

https://bugzilla.gnome.org/show_bug.cgi?id=719819

10 years agowayland: Don't round trip recursively during initialization
Jonas Ådahl [Mon, 18 May 2015 08:02:45 +0000 (16:02 +0800)]
wayland: Don't round trip recursively during initialization

Instead use asynchronous round trips that is synchronized in the end of
the initialization. This makes it easier to track state, as we won't
dispatch arbitrary Wayland messages while processing globals.

https://bugzilla.gnome.org/show_bug.cgi?id=719819

10 years agoUpdated Slovak translation
Dušan Kazik [Tue, 19 May 2015 07:18:55 +0000 (07:18 +0000)]
Updated Slovak translation

10 years agoGtkWindow: Don't assume no shadow width even when not supported
Jonas Ådahl [Mon, 18 May 2015 03:19:14 +0000 (11:19 +0800)]
GtkWindow: Don't assume no shadow width even when not supported

Even if a window doesn't support client side shadow
(gtk_window_supports_client_shadow returns FALSE), don't assume the
shadow width is zero, as CSD may have been enabled anyway (meaning
priv->client_decorated is TRUE). In that case we still need to report
the correct width.

https://bugzilla.gnome.org/show_bug.cgi?id=749451

10 years agoUpdated Czech translation
Marek Černocký [Sun, 17 May 2015 08:33:31 +0000 (10:33 +0200)]
Updated Czech translation

10 years agoDon't force an icon window
Matthias Clasen [Sun, 17 May 2015 03:55:09 +0000 (23:55 -0400)]
Don't force an icon window

We were inadvertently forcing the use of an icon window
in all cases. This patch makes it so that we once again
use a combined cursor when possible.

10 years agoRemove some useless comments
Matthias Clasen [Sat, 16 May 2015 22:04:40 +0000 (18:04 -0400)]
Remove some useless comments

10 years agoDND: Move private api to a private header
Matthias Clasen [Sat, 16 May 2015 21:54:01 +0000 (17:54 -0400)]
DND: Move private api to a private header

10 years agoRemove multi-screen handling in DND code
Matthias Clasen [Sat, 16 May 2015 21:26:45 +0000 (17:26 -0400)]
Remove multi-screen handling in DND code

We only have one screen nowadays. No need to carry around
code for handling screen changes.

10 years agoImplemented most of the GDK named cursors on Mac OS X.
Pietro Gagliardi [Thu, 14 May 2015 20:45:01 +0000 (16:45 -0400)]
Implemented most of the GDK named cursors on Mac OS X.

Only "wait" and "all-scroll" are not implemented properly. OS X does not
seem to have a proper interface to either cursor. Approximations are used
instead; see the code.

See bug 749178.

10 years agoGtkQuery: Drop unused mimetype functions
Matthias Clasen [Sat, 16 May 2015 04:47:57 +0000 (00:47 -0400)]
GtkQuery: Drop unused mimetype functions

These are not used, so drop them.

10 years agoGtkQuery: Cleanups
Matthias Clasen [Sat, 16 May 2015 04:45:25 +0000 (00:45 -0400)]
GtkQuery: Cleanups

Strip leading underscores from GtkQuery api, and
clean up the sources a bit.

10 years agoGtkFileChooser: Show remote search results too
Matthias Clasen [Sat, 16 May 2015 04:38:21 +0000 (00:38 -0400)]
GtkFileChooser: Show remote search results too

There is no reason not to show them. Removing this
makes search on remote locations just work.

10 years agoRewrite search to be more similar to nautilus
Matthias Clasen [Sat, 16 May 2015 04:37:07 +0000 (00:37 -0400)]
Rewrite search to be more similar to nautilus

The main advantage here is that this code works for remote
locations as well.

10 years agoUpdated Occitan translation
Cédric Valmary [Fri, 15 May 2015 16:13:45 +0000 (16:13 +0000)]
Updated Occitan translation

10 years agoUpdated Polish translation
Piotr Drąg [Fri, 15 May 2015 15:56:44 +0000 (17:56 +0200)]
Updated Polish translation

10 years agogtkwindow: Fix a memory leak
Kjell Ahlstedt [Fri, 15 May 2015 13:39:04 +0000 (15:39 +0200)]
gtkwindow: Fix a memory leak

The private data GtkGesture* drag_gesture was added by commit
13e22e20300b7312e52bba7d077fc7e231695fc1, but it's never destroyed.
Unref it in gtk_window_finalize().

https://bugzilla.gnome.org/show_bug.cgi?id=749425

10 years agoAdd a main category to desktop files
Matthias Clasen [Thu, 14 May 2015 19:26:56 +0000 (15:26 -0400)]
Add a main category to desktop files

This makes desktop-file-validate happy.

10 years agoAmend deprecation warnings for GtkStyle API
Emmanuele Bassi [Thu, 14 May 2015 15:56:00 +0000 (16:56 +0100)]
Amend deprecation warnings for GtkStyle API

Not everything has a replacement in the API, as the drawing model
changed considerably; nevertheless, this should help out developers
porting from the deprecated GtkStyle API.

10 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Thu, 14 May 2015 14:55:29 +0000 (16:55 +0200)]
Updated Norwegian bokmål translation.

10 years agoconfigure.ac: Pull gio-unix dependency for all unix builds
Marco Trevisan (Treviño) [Thu, 7 May 2015 09:49:54 +0000 (11:49 +0200)]
configure.ac: Pull gio-unix dependency for all unix builds

It's now needed by gtk-launch, so it's just the case to enable it for all the
builds except the win32 one, instead of adding it for every unix backend.

https://bugzilla.gnome.org/show_bug.cgi?id=744086

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Wed, 13 May 2015 20:06:54 +0000 (23:06 +0300)]
Updated Hebrew translation

10 years agoprinting: Check connection to remote CUPS server on correct port
Marek Kasik [Fri, 11 Jul 2014 09:33:30 +0000 (11:33 +0200)]
printing: Check connection to remote CUPS server on correct port

Add parameter for specification of port to gtk_cups_connection_cups_new().
Use default port returned by ippPort() if the given port is lower than 0.

https://bugzilla.gnome.org/show_bug.cgi?id=693738

10 years agobox: Fix RTL styling
Benjamin Otte [Tue, 12 May 2015 16:27:19 +0000 (18:27 +0200)]
box: Fix RTL styling

10 years agoGtkPrintUnixDialog: Avoid deprecated properties
Matthias Clasen [Tue, 12 May 2015 12:24:52 +0000 (08:24 -0400)]
GtkPrintUnixDialog: Avoid deprecated properties

Not needed here at all.

10 years agoGtkPageSetupUnixDialog: Avoid deprecated properties
Matthias Clasen [Tue, 12 May 2015 12:22:56 +0000 (08:22 -0400)]
GtkPageSetupUnixDialog: Avoid deprecated properties

Not needed at all.

10 years agogtk3-demo: Add a page setup example
Matthias Clasen [Tue, 12 May 2015 12:20:35 +0000 (08:20 -0400)]
gtk3-demo: Add a page setup example

This mainly so I can fix deprecation warnings in the
page setup dialog.

10 years agoGtkPopover: Clean up default widget on dispose
Matthias Clasen [Tue, 12 May 2015 11:57:04 +0000 (07:57 -0400)]
GtkPopover: Clean up default widget on dispose

We forgot to drop the ref we take. Thankfully our
tests caught this.

10 years agoDocs: Typo fix
Matthias Clasen [Tue, 12 May 2015 11:44:44 +0000 (07:44 -0400)]
Docs: Typo fix

10 years agoFix a11y tests
Matthias Clasen [Tue, 12 May 2015 11:44:21 +0000 (07:44 -0400)]
Fix a11y tests

The output of the about dialog test is affected by the keynav
fixes.

10 years agoQuiet the bitmask test
Matthias Clasen [Tue, 12 May 2015 11:40:47 +0000 (07:40 -0400)]
Quiet the bitmask test

Don't spew so many 0s and 1s.

10 years agoFix return value error in gtk_font_chooser_get_font_map
Ting-Wei Lan [Tue, 12 May 2015 02:23:59 +0000 (10:23 +0800)]
Fix return value error in gtk_font_chooser_get_font_map

https://bugzilla.gnome.org/show_bug.cgi?id=749248

10 years agogtk-demo: Don't rely on gdk_cursor_get_image
Matthias Clasen [Tue, 12 May 2015 03:06:50 +0000 (23:06 -0400)]
gtk-demo: Don't rely on gdk_cursor_get_image

This function is only implemented on X11. Instead,
just use a fixed set of cursor images from resources.

10 years agoquartz: Support css cursor names
Matthias Clasen [Sun, 10 May 2015 03:53:45 +0000 (23:53 -0400)]
quartz: Support css cursor names

We want these to work across platforms, so do a best-effort
approximation. We could do much better here by copying what
webkit does.

https://bugzilla.gnome.org/show_bug.cgi?id=749178

10 years agoAvoid a critical under weston
Matthias Clasen [Tue, 12 May 2015 02:13:07 +0000 (22:13 -0400)]
Avoid a critical under weston

The ordering of globals in connection setup under weston
is different from mutter, and we end up creating a the
dnd window before any outputs are present. Don't cause
a critical warning in that case.

10 years agoGtkFontChooser: Refine 'no matches' pages
Matthias Clasen [Tue, 12 May 2015 00:03:08 +0000 (20:03 -0400)]
GtkFontChooser: Refine 'no matches' pages

Use a better icon, and put the text below.

10 years agoGtkFileChooser: Refine 'no matches' page
Matthias Clasen [Mon, 11 May 2015 23:44:30 +0000 (19:44 -0400)]
GtkFileChooser: Refine 'no matches' page

Use a better icon, and put the text below.

10 years agoAllow overriding WM_CLASS from the command line
Lars Uebernickel [Fri, 10 Apr 2015 15:18:50 +0000 (17:18 +0200)]
Allow overriding WM_CLASS from the command line

Even when the program itself calls gdk_set_program_class(). There's
currently no way for this function to be called without breaking gdk's
--class command line option, because you cannot call it before
gtk_init().

https://bugzilla.gnome.org/show_bug.cgi?id=747634

10 years agogtk-demo: Port builder example away from GtkUIManager
Matthias Clasen [Mon, 11 May 2015 01:01:47 +0000 (21:01 -0400)]
gtk-demo: Port builder example away from GtkUIManager

This makes gtk3-demo deprecation-free.

10 years agogtk-demo: Remove an unncessary define
Matthias Clasen [Mon, 11 May 2015 01:00:08 +0000 (21:00 -0400)]
gtk-demo: Remove an unncessary define

The changedisplay example no longer uses and deprecated
API, so don't disable deprecations.

10 years agoUpdated Occitan translation
Cédric Valmary [Sun, 10 May 2015 19:44:36 +0000 (19:44 +0000)]
Updated Occitan translation

10 years agoForgotten file
Matthias Clasen [Sun, 10 May 2015 19:37:47 +0000 (15:37 -0400)]
Forgotten file

10 years agoUpdated POTFILES.in
Piotr Drąg [Sun, 10 May 2015 16:10:11 +0000 (18:10 +0200)]
Updated POTFILES.in

10 years agoGtkAdjustment: Deprecate some redundant API
Matthias Clasen [Sun, 10 May 2015 06:35:52 +0000 (02:35 -0400)]
GtkAdjustment: Deprecate some redundant API

Both gtk_adjustment_changed and gtk_adjustment_value_changed
are unnecessary every since we've sealed the GtkAdjustment
struct.

https://bugzilla.gnome.org/show_bug.cgi?id=619493

10 years agoGtkIconView: Stop using gtk_adjustment_changed
Matthias Clasen [Sun, 10 May 2015 06:35:07 +0000 (02:35 -0400)]
GtkIconView: Stop using gtk_adjustment_changed

This should not be needed at all.

10 years agoGtkSpinButton: Stop using gtk_adjustment_value_changed
Matthias Clasen [Sun, 10 May 2015 06:34:33 +0000 (02:34 -0400)]
GtkSpinButton: Stop using gtk_adjustment_value_changed

This is just an unnecessary indirection.